<#include "include/head.ftl">
package ${NamespaceModel}.param;


 
import ${NamespaceModel}.${Po};
import com.ferryc.commons.entity.DataEntity;
 
 
/**
 * 
 * 类名:	 	${Po}  <br/>
 * 作用：	 	${tableLabel}<br/>
 * 方法：		 <br/>
 * 创建者: 	${author} <br/>
 * 添加时间: 	${copyright.createDate} ${copyright.createTime} <br/>
 * 
 */
public class ${Po}Param extends DataEntity<${Po}Param>{
	private static final long serialVersionUID = 1L;
	
<#list table.columnList as column>
     
 <#if column.columnName?uncap_first!="id"&&column.columnName?uncap_first!="status"&&column.columnName?uncap_first!="createBy"&&column.columnName?uncap_first!="createDate"&&column.columnName?uncap_first!="remarks" 
		&&column.columnName?uncap_first!="updateBy"&&column.columnName?uncap_first!="updateDate"&&column.columnName?uncap_first!="delFlag"  >
		/** 	${column.columnLabel} */
	private ${column.columnSimpleClassName} ${column.columnName?uncap_first};
	</#if>
</#list>
		
<#list table.columnList as column>
 <#if column.columnName?uncap_first!="id"&&column.columnName?uncap_first!="status"&&column.columnName?uncap_first!="createBy"&&column.columnName?uncap_first!="createDate"&&column.columnName?uncap_first!="remarks" 
		&&column.columnName?uncap_first!="updateBy"&&column.columnName?uncap_first!="updateDate"&&column.columnName?uncap_first!="delFlag"  >
	 
	public ${column.columnSimpleClassName} get${column.columnName?cap_first}(){
		return this.${column.columnName?uncap_first};
	}
 
	 
	public void set${column.columnName?cap_first}(${column.columnSimpleClassName} ${column.columnName?uncap_first}){
		this.${column.columnName?uncap_first} = ${column.columnName?uncap_first};
	}
 
<#if column.columnLabel?index_of("：")!=-1>
	public ${column.columnSimpleClassName} get${column.columnName?cap_first}Name(){
		return this.${column.columnName?uncap_first};
    }		
</#if>

  </#if>
</#list>
 	
	  public ${Po}  to${Po}(){
	  ${Po}  po  = new ${Po}();
	  <#list table.columnList as column>
	   po.set${column.columnName?cap_first}(this.${column.columnName?uncap_first});
		</#list>
		po.setLimit(this.limit);
		po.setOffset(this.offset);
		po.setLikeName(this.likeName)
		return po;
	  }
 
}